package com.itheima.sc.impl.ums;

import com.itheima.sc.api.ums.UmsMemberLevelApi;
import com.itheima.sc.mapper.ums.UmsMemberLevelMapper;
import com.itheima.sc.pojo.ums.UmsMemberLevel;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class UmsMemberLevelServiceImpl implements UmsMemberLevelApi {
    @Autowired
    private UmsMemberLevelMapper umsMemberLevelMapper;
    @Override
    public List<UmsMemberLevel> list() {
        return umsMemberLevelMapper.selectList(null);
    }
}
